import requests


def post_url(username: str, password: str, ):

    url = 'http://10.11.2.3/a70.html'
    headers = {
        'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.125 '
                      'Safari/537.36'
    }
    data = {
        'DDDDD': username,
        'upass': password,
        'R1': 0,
        'R2': '',
        'R3': 0,
        'R6': 0,
        'para': 00,
        '0MKKey': 123456,
        'buttonClicked': '',
        'redirect_url': '',
        'err_flag': '',
        'username': '',
        'password': '',
        'user': '',
        'cmd': '',
        'Login': '',
        'v6ip': ''
    }

    response = requests.post(url, headers=headers, data=data, )
    print(response.text)
    return response.status_code
